package com.design.builder;

/**
 * @Author: ChengLei.Liu
 * @Date: 2020-06-10 09:18
 * @Description:
 */
public class Car {

    /**
     * 车名称
     */
    private String carName;

    /**
     * 颜色
     */
    private String color;

    /**
     * 车轮
     */
    private String wheel;

    /**
     * 车身
     */
    private String body;

    /**
     * 车灯
     */
    private String light;


    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getWheel() {
        return wheel;
    }

    public void setWheel(String wheel) {
        this.wheel = wheel;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getLight() {
        return light;
    }

    public void setLight(String light) {
        this.light = light;
    }

    @Override
    public String toString() {
        return "Car{" +
                "carName='" + carName + '\'' +
                ", color='" + color + '\'' +
                ", wheel='" + wheel + '\'' +
                ", body='" + body + '\'' +
                ", light='" + light + '\'' +
                '}';
    }
}
